package acationspeedycasemymongo

const (
	BestFriendsDoTypeDefault = 0 //默认模式
	BestFriendsDoTypeCreate  = 1 //创建
	BestFriendsDoTypeCancel  = 2 //取消
)

type ActionHouseMatchBestFriendsLogCases struct {
}

var ActionHouseMatchBestFriendsLogCasesObject ActionHouseMatchBestFriendsLogCases

func (e ActionHouseMatchBestFriendsLogCases) SoulMateDoType() []int {
	return []int{
		BestFriendsDoTypeDefault,
		BestFriendsDoTypeCreate,
		BestFriendsDoTypeCancel,
	}
}

func (e ActionHouseMatchBestFriendsLogCases) SoulMateDoTypeMap() map[int]int {
	m := make(map[int]int)
	for _, s := range e.SoulMateDoType() {
		m[s] = s
	}
	return m
}

func (e ActionHouseMatchBestFriendsLogCases) SoulMateDoTypeString(tag int) string {
	switch tag {
	case BestFriendsDoTypeDefault:
		return "默认" //对战模式 （默认模式）
	case BestFriendsDoTypeCreate:
		return "死党" //休闲模式（组合模式）
	case BestFriendsDoTypeCancel:
		return "取消死党" //结婚模式
	default:
		return "未知"
	}
}
